package status;

public class StatusDemo {
    public static void main(String[] args) {
        Context context = new Context();

        StartStatus start = new StartStatus();
        start.doAction(context);
        System.out.println(context.getStatus().toString());

        StopStatus stopStatus = new StopStatus();
        stopStatus.doAction(context);
        System.out.println(context.getStatus().toString());
    }

}
